Release 10.1A: OpenEdge Development:
Web Services
Invoking operations
After you have created a Web service procedure object, you can invoke the operations made available through that object. OpenEdge identifies Web service operations in the 4GL by the same names and signatures used to define them in the WSDL file for the Web service, which you specify when you bind the Web service using the
CONNECT( )method (see Chapter 9, " Connecting to Web Services from the Progress 4GL.").The WSDL Analyzer determines if you can invoke the operation using only a 4GL
RUNstatement or if you can also a user-defined function call:
- If the Analyzer determines that the operation does not return a value, it defines the operation as an internal procedure that you must call using the
RUNstatement.- If the Analyzer determines that the operation returns a value, it defines the operation in both of the following ways:
- As a user-defined function that you forward reference and invoke as a function.
Note: You cannot invoke native 4GL procedures or user-defined functions interchangeably as one or the other. This feature only applies to Web service operations, and only those Web service operations as specified by the WSDL Analyzer.- As an internal procedure that you can call using the
RUNstatement.Any attempt to invoke a Web service operation using a method not specified by the WSDL Analyzer returns an error.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |